package com.torry.workflow.api.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.torry.workflow.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author torry
 * @since 2021-12-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_role")
@ApiModel(value = "Role对象", description = "")
public class Role extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String name;

    @TableField(exist = false)
    private List<Integer> menuIds;
    @TableField(exist = false)
    private List<Integer> orgIds;
    @TableField(exist = false)
    private List<Integer> permIds;
}
